package com.zly.bscloud.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhouxiaoyu
 * @Date 2020/3/8 15:32
 * @Version 1.0
 */
@Data
@Table(name = "article")
public class Article implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    private String id;
    private String title;
    private Date create_time;
    private Date update_time;
    private String tags;
    private String first_picture;
    private String content;
    private Integer islikes;
    private String synopsis;
    private Integer views;
    private Integer messages;
    private String type;
}
